package com.iasku.iaskueleclass_phone;

import java.io.Serializable;

public class ReturnData<T> implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 3972985210137592979L;
    public int status;
    public String msg = "";
    public int page;
    public int total;
    private T data;

    public ReturnData() {
        
    }

    public ReturnData(int state) {
        this.status = state;
    }

    public ReturnData(int state, String msg) {
        this.status = state;
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

}
